<?php
/**
 * Created by PhpStorm
 * User: whh
 * Date: 2022/7/28
 * Time: 16:02
 */

namespace app\common\model;


use think\Model;

/**
 * 审核员表
 * Class Auditor
 * @package app\common\model
 */
class Auditor extends Model
{
    use Common;

    protected $table = 'quick_auditor';

    /**
     * 关联快应用
     * @return \think\model\relation\HasOne
     * @Author: whh
     */
    public function quickApp()
    {
        return $this->hasOne(QuickApp::class, 'id', 'quick_id')->field("id,name");
    }
}